package com.java83.service.impl;

import com.java83.service.RbacPermService;
import com.java83.dao.RbacPermDao;
import com.java83.entity.RbacPerm;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RbacPermServiceImpl implements RbacPermService {
    @Autowired
    RbacPermDao rbacPermDao;
    @Override
    public List<RbacPerm> findAllPerms(int[] roles) {
        return  rbacPermDao.findAllPerms(roles);
    }
}
